#include "artsidebaroption.h"
#include "mouseeater.h"
#include "ui_artsidebaroption.h"

ArtSideBarOption::ArtSideBarOption(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::ArtSideBarOption)
{
    ui->setupUi(this);

    new MouseEater([&](QMouseEvent*){
        emit clicked();
        return true;
    }, this);
}

ArtSideBarOption::~ArtSideBarOption()
{
    delete ui;
}
